package com.guarantee.server.domain;

/**
 * @Author huisonglin
 * @Description
 * @PackageName outfood-platform
 * @Package com.outfood.domain
 * @Date 2024-06-11 16:00
 * @Version 1.0
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @description food_eleme_server
 * @author BEJSON
 * @date 2024-06-11
 */
@Data
@TableName("food_eleme_server")
public class FoodElemeServer implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @TableId(type = IdType.AUTO)
    /**
     * 主键ID
     */
    private Long id;


    /**
     * 活跃，只能有一个是活跃的
     */
    private Integer active;

    /**
     * ONLINE ，OFF
     */
    private String onlineStatus;

    /**
     * 请求地址
     */
    private String address;

    /**
     * create_user
     */
    private String createUser;

    /**
     * create_date
     */
    private Date createDate;


    private Integer heatFailCount;

    private Integer useLocalPc;

    /**
     * modify_user
     */
    private String modifyUser;

    /**
     * modify_date
     */
    private Date modifyDate;

    /**
     * state
     */
    private String state;

    public FoodElemeServer() {}
}
